<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8" />
		<title>HTML前端学习</title>
		<meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com" />
		<meta name="copyright" content="www.doyoe.com" />
		<style>
			
			table, th, td {
				 border: 1px solid black;
				 border-collapse: collapse;
			
			}
		</style>
	</head>
	<body>    
	<!-- 
	 align="center"
	 -->
		
			<h4>表格</h4>
			<table border="1" width="500px"  cellpadding="0" cellspacing="0">
				<caption>Java+安卓1班名单</caption>
				<tr align="center">
					<td>序号</td>
					<td>姓名</td>
					<td>性别</td>
					<td>年龄</td>
					<td>薪资</td>
					<td>人数</td>
				</tr>
				<tr align="center">
					<td>1</td>
					<td>张飞</td>
					<td>男</td>
					<td>56</td>
					<td>300</td>
					<td rowspan="3">2</td>
				</tr>
				<tr align="center">
					<td>2</td>
					<td>张飞</td>
					<td>男</td>
					<td>56</td>
					<td>500</td>
				</tr>
				
				<tr>
					<td colspan="4" align="center"> 合计</td>
					
					<td>800</td>
				</tr>
			</table>
			
			
			
			
			<h3>第二个表格</h3>
			
			
			<h4>表格</h4>
			<table border="1" width="500px"  cellpadding="0" cellspacing="0">
				<caption>Java+安卓1班名单</caption>
				
				<thead>
					<tr align="center">
						<th>序号</th>
						<th>姓名</th>
						<th>性别</th>
						<th>年龄</th>
						<th>薪资</th>
						<th>人数</th>
					</tr>
					
				</thead>
				
				
				<tbody>
					<tr align="center">
							<td>1</td>
							<td>张飞</td>
							<td>男</td>
							<td>56</td>
							<td>300</td>
							<td rowspan="3">2</td>
						</tr>
						<tr align="center">
							<td>2</td>
							<td>张飞</td>
							<td>男</td>
							<td>56</td>
							<td>500</td>
						</tr>
						
						<tr>
							<td colspan="4" align="center"> 合计</td>
							
							<td>800</td>
						</tr>
					</table>
				</tbody>
			
			
			
			
			
			
			
			
	</body>
</html>